<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<title th:text="#{i18n.text_122}"></title>
	<head th:replace="head"/>
	<style>
		.dashbord_content_outer{
			background-color: #fff;
		}
		.minertable-top{
			margin-top: 20px;
		}

		.tbl-user-note-outer{
			max-width: 1140px;
			padding:0 20px;
			margin:50px auto;
		}
		.tbl-user-note td{
			text-align: left;
			color:#333;
			height:35px;
		}
		.tbl-user-note td input[type='text']{
			padding:2px;
			border:solid 1px #e6e6e6;
			height: 25px;
			width:80px;
		}
		.tbl-user-note td input[type='text'].w-auto{
			width:50%;
		}
		.tbl-user-note td input[type='number']{
			padding:2px;
			border:solid 1px #e6e6e6;
			height: 25px;
			width:80px;
		}
		.tbl-user-note td input[type='number'].w-auto{
			width:50%;
		}
		.tbl-user-note td select{
			border:solid 1px #e6e6e6;
			color:#AAA;
			height: 25px;
		}
		.tbl-user-note td input[disabled='disabled']{
			background:#fff;
			color:#333;
			border:none;
		}
		.tbl-user-note td input[type='button']{
			width:70px;
			height:22px;
			line-height:22px;
			text-align: center;
			border:none;
			border-radius:4px;
			background: rgba(66, 133, 202, 0.95);
			color:#fff;
			font-size:13px;
		}
		.tbl2-user-note{
			width: 100%;
			border: 1px solid #ccc;
			border-right:none;
			border-bottom:none;
			margin:50px auto 30px;
		}
		.tbl2-user-note tr:nth-child(2n){
			background-color: #fafafc;
		}

		.tbl2-user-note th{
			color:#262626;
			font-weight:bold;
			border-right: 1px solid #ccc;
			border-bottom:1px solid #ccc;
			padding:5px;
		}

		.tbl2-user-note td{
			border-right: 1px solid #ccc;
			border-bottom:1px solid #ccc;
			padding:5px;
		}
		.dis-none{
			display: none;
		}
		.m-r-20{
			margin-right: 20px;
		}
		.user-note-tip{
			color:#ff0000;
			font-size:12px;
		}

	</style>
</head>
<body th:inline="text">
<nav th:replace="nav"/>
<section class="layout">
	<div class="horizontal-content">
		<div class="middle">
			<div class="md_top">
				<div th:replace="home/top"/>
			</div>
			<div class="tbl-user-note-outer">
				<form id="user_NoticeShowForm" action="" method="post">
					<span class="user-note-tip" id="error_span"></span>
					<table width="100%" cellspacing="0" cellpadding="0" border="0" class="tbl-user-note">
						<tbody><tr>
							<td>[[#{i18n.text_123}]]:</td>
							<td th:text="${bmpAccount}?${bmpAccount.name}:''">
							</td>
							<td>[[#{i18n.text_34}]]:</td>
							<td>
								<select disabled="disabled" id="isEnableNotice" name="isEnableNotice">
									<option value="0" th:selected="${#strings.contains(null!=bmpAccount?bmpAccount.isEnableNotice:'1','0')}" th:text="#{i18n.text_124}"></option>
									<option value="1" th:selected="${#strings.contains(null!=bmpAccount?bmpAccount.isEnableNotice:'1','1')}" th:text="#{i18n.text_125}"></option>
								</select>
							</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr>
							<td>[[#{i18n.text_126}]]:</td>
							<td colspan="7">
								<input type="text" disabled="disabled" class="w-auto" id="mobile" name="mobile" th:value="${config}?${config.mobile}:''"/>
								<span class="user-note-tip dis-none" th:text="#{i18n.text_127}"></span>
							</td>
						</tr>
						<tr>
							<td>[[#{i18n.text_128}]]:</td>
							<td colspan="7">
								<input type="text" disabled="disabled" class="w-auto" style="padding:0 6px;line-height:3px;" id="email" name="email" th:value="${config}?${config.email}:''"/>
							</td>
						</tr>
						<!-- <tr>
							<td>[[#{i18n.text_129}]]:</td>
							<td>
								<select disabled="disabled" id="speedChange" name="speedChange">
									<option value="0" th:class="((${config}?${config.speedChange}:'1')=='0')?'selected':''" th:text="#{i18n.text_130}"></option>
									<option value="1" th:class="((${config}?${config.speedChange}:'1')=='1')?'selected':''" th:text="#{i18n.text_131}"></option>
								</select>
							</td>
							<td>[[#{i18n.text_132}]]:</td>
							<td>
								<input type="number" style="padding:0 6px;line-height:3px;" disabled="disabled" maxlength="10" id="speedChangeValue" name="speedChangeValue" th:value="${config}?${config.speedChangeValue}:''"/>%
							</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr> -->
						<tr>
							<td>[[#{i18n.text_133}]]:</td>
							<td>
								<select disabled="disabled" id="speedMin" name="speedMin">
									<option value="0" th:selected="${#strings.contains((config==null?'1':config.speedMin),'0')}" th:text="#{i18n.text_130}"></option>
									<option value="1" th:selected="${#strings.contains((config==null?'1':config.speedMin),'1')}" th:text="#{i18n.text_131}"></option>
								</select>
							</td>
							<td>[[#{i18n.text_134}]]:</td>
							<td colspan="5">
								<input type="number" style="padding:0 6px;line-height:3px;width: 250px;" disabled="disabled" maxlength="10" id="speedMinValue" name="speedMinValue" th:value="${config}?${config.speedMinValue}:''"/>T/s
							</td>
						</tr>
						<tr>
							<td>[[#{i18n.text_135}]]:</td>
							<td>
								<select disabled="disabled" class="m-r-20" id="speedMax" name="speedMax">
									<option value="0" th:selected="${#strings.contains((config==null?'1':config.speedMax),'0')}" th:text="#{i18n.text_130}"></option>
									<option value="1" th:selected="${#strings.contains((config==null?'1':config.speedMax),'1')}" th:text="#{i18n.text_131}"></option>
								</select>
							</td>
							<td>[[#{i18n.text_136}]]:</td>
							<td colspan="5">
								<input type="number" style="padding:0 6px;line-height:3px;width: 250px;" disabled="disabled" maxlength="10" id="speedMaxValue" name="speedMaxValue" th:value="${config}?${config.speedMaxValue}:''"/>T/s
							</td>
						</tr>
						<!-- <tr>
							<td>[[#{i18n.text_137}]]:</td>
							<td>
								<select disabled="disabled" id="workerActive" name="workerActive">
									<option value="0" th:class="((${config}?${config.workerActive}:'1')=='0')?'selected':''" th:text="#{i18n.text_130}"></option>
									<option value="1" th:class="((${config}?${config.workerActive}:'1')=='1')?'selected':''" th:text="#{i18n.text_131}"></option>
								</select>
							</td>
							<td>[[#{i18n.text_138}]]:</td>
							<td>
								<input type="number" style="padding:0 6px;line-height:3px;" disabled="disabled" maxlength="10" id="workerActiveValue" name="workerActiveValue" th:value="${config}?${config.workerActiveValue}:''"/>%
							</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
						</tr> -->
						<tr>
							<td>[[#{i18n.text_139}]]:</td>
							<td>
								<select disabled="disabled" id="workerActiveMin" name="workerActiveMin">
									<option value="0" th:selected="${#strings.contains((config==null?'1':config.workerActiveMin),'0')}" th:text="#{i18n.text_130}"></option>
									<option value="1" th:selected="${#strings.contains((config==null?'1':config.workerActiveMin),'1')}" th:text="#{i18n.text_131}"></option>
								</select>
							</td>
							<td>[[#{i18n.text_140}]]:</td>
							<td>
								<input type="number" style="padding:0 6px;line-height:3px;" disabled="disabled" maxlength="10" id="workerActiveMinValue" name="workerActiveMinValue" th:value="${config}?${config.workerActiveMinValue}:''"/>
							</td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr>
							<td>[[#{i18n.text_141}]]:</td>
							<td>
								<select disabled="disabled" class="m-r-20" id="workerActiveMax" name="workerActiveMax">
									<option value="0" th:selected="${#strings.contains((config==null?'1':config.workerActiveMax),'0')}" th:text="#{i18n.text_130}"></option>
									<option value="1" th:selected="${#strings.contains((config==null?'1':config.workerActiveMax),'1')}" th:text="#{i18n.text_131}"></option>
								</select>
							</td>
							<td>[[#{i18n.text_142}]]:</td>
							<td>
								<input type="number" style="padding:0 6px;line-height:3px;" disabled="disabled" maxlength="10" id="workerActiveMaxValue" name="workerActiveMaxValue" th:value="${config}?${config.workerActiveMaxValue}:''"/>
							</td>
							<td></td>
							<td></td>
							<td></td>
						</tr>
						<tr>
							<td>[[#{i18n.text_143}]]:</td>
							<td>
								<input type="number" style="padding:0 6px;line-height:3px;" disabled="disabled" maxlength="8" id="noticeCount" name="noticeCount" th:value="${config}?${config.noticeCount}:'24'"/>
							</td>
							<!-- <td>[[#{i18n.text_144}]]:</td>
							<td>
								<input type="number" style="padding:0 6px;line-height:3px;" disabled="disabled" maxlength="8" id="noticeInterval" name="noticeInterval" th:value="${config}?${config.noticeInterval}:'3600'"/>
							</td> -->
							<td>
							</td>
							<td></td>
							<td></td>
							<td></td>
							<td></td>
							<td colspan="2" style="width: 150px;" align="right">
								<input id="btn-e-e" type="button" th:value="#{i18n.text_99}" data-state="1"/>
								<input id="btn-e-s" type="button" th:value="#{i18n.text_86}" data-state="1" class="dis-none"/>
								<input id="btn-e-q" type="button" th:value="#{i18n.text_100}" class="dis-none"/>
							</td>
						</tr>
						</tbody></table>
				</form>
				<table class="tbl2-user-note">
					<tbody><tr>
						<th th:text="#{i18n.text_145}"></th>
						<th th:text="#{i18n.text_146}"></th>
						<th th:text="#{i18n.text_34}"></th>
						<th th:text="#{i18n.text_147}"></th>
					</tr>

					</tbody>
				</table>
				<div class="mt_topfoot">
					<div class="btn-group pull-right pages-right">
						<ul class="pagination pageDiv">
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>

	<footer th:replace="footer"/>
</section>
<script th:src="@{/js/home.min.js}"></script>
<script th:inline="javascript">
	home.notice.init([[#{i18n.text_184}]],[[#{i18n.text_185}]],[[#{i18n.text_186}]]);
</script>
<script th:inline="javascript">
	var accountId = [[${accountId}]];
	if(accountId==null){
		$('#useridSetModal').modal();
		$('#userIdSave').bind('click', function(e) {
			var userIdIn=$('#userIdIn').val();
			$.ajax({
				type : "POST",
				url : "/user/addAccount",
				data : {name:userIdIn},
				success : function(data) {
					if(data.code=='200') {
						$('#useridSetModal').modal('hide');
						window.location.reload(true);
					} else {
						$('#dialog_msg').html(data.msg);
					}
				}
			});
		});
		document.onkeydown = function (event){
		　　if (event.keyCode==13){
			//回车键的键值为13
			$("#userIdSave").trigger("click");
		　　} 
	　　	};
	}
</script>
</body>
</html>